package handler

import (
	proto "mxshop_srvs/userop_srv/proto/gen/v1"

	"mxshop_srvs/userop_srv/dao/mysql"
)

// Service defines an address service.
type Service struct {
	DB *mysql.Gorm
	proto.UnimplementedAddressServiceServer
	proto.UnimplementedMessageServiceServer
	proto.UnimplementedUserFavServiceServer
}

// NewService creates an userop service.
func NewService(db *mysql.Gorm) *Service {
	return &Service{
		DB: db,
	}
}
